#ifndef PhysicObject_H
#define PhysicObject_H

#include <SDL.h>
#include <Box2D.h>
#include <SDL_rotozoom.h>
#include "Image.h"

class PhysicManager;

class PhysicObject
{
    public:
        virtual ~PhysicObject();
        Image* GetImage();
        SDL_Rect& GetSDLRect();

    private:

    PhysicObject(Image* image, b2Body* body);
    void Update();
    friend class PhysicManager;
    Image* mImage;
    float mPositionX;
    float mPositionY;
	b2Body* mBody;
	SDL_Rect mPosition;
	Image* mDstImage;
};

#endif // PhysicObject_H
